package com.happe.foodeasy.util;

/**
 * 这个枚举用于存放商品状态的id
 * Created by wubin on 2016-12-13.
 */
public enum CommodityStateEnum {
    ALL_COMMODITY(0),
    ON_SHELF(1);

    private long stateId;

    private CommodityStateEnum(long stateId) {
        this.stateId = stateId;
    }

    public long value() {
        return this.stateId;
    }
}
